function x = angularWindow(t,f,k)
t=abs(t);
tSize=size(t);


x=(t<=f);
x=x+((t<=2-f).*(t>f) .* cos(  1/(2-2*f)*(t-f*ones(tSize))*(pi/2) ));



% function x = angularWindow(t)
% t=abs(t);
% tSize=size(t);
% 
% 
% x=(t<=2/3);
% x=x+((t<=4/3).*(t>2/3) .* cos(  (3/2*t-ones(tSize))*(pi/2) ));


% x=(t<=(1/3));
% x=x+((t<=(2/3)) .* (t>1/3)).*cos(  (3*t-ones(tSize))*(pi/2) );
